package k2_oop.p4_singletonPattern.demo02;

public class TestDemo2 {
    public static void main(String[] args) {

        Moon moon1 = Moon.getInstance();
        Moon moon2 = Moon.getInstance();

        System.out.println(moon1==moon2);

    }
}
